export const SET_TOKEN = 'token.set_token';
export const setToken = (token, user) => {
    return {
        type: SET_TOKEN,
        user: user,
        token: token,
    };
};